//
//  AppDelegate.swift
//  SinaMicroblog
//
//  Created by 原鹏飞 on 2017/4/2.
//  Copyright © 2017年 YuanPengFei. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?

    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
        
        print(WBUserAccount.shared.access_token ?? "没有拿到token")
        
//        print("^^^^^^^^^^^^^")
//        print(NSHomeDirectory())
        print(Bundle.main.isNewFeature)
        
        //MARK: - 配置纯代码开发环境
        
        window = UIWindow(frame: UIScreen.main.bounds)
        
        let controller = WBMainController()
        
        window?.rootViewController = controller
        window?.makeKeyAndVisible()
        
        return true
    }
}

